<!DOCTYPE html>
<%@ page language="java" pageEncoding="UTF-8"%>
<html>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<head>
<c:set var="title" value="首页" scope="request" />
<jsp:include page="/head.jsp" />
</head>

<body>
	<c:import url="/header.do" />
	<div class="col-md-3">
		<c:import url="/left-menu.do" />
	</div>
	<ol class="breadcrumb">
		<li><a href="user.html">系统管理</a></li>
		<li class="active">轮播图修改</li>
	</ol>

	<div class="tab-content">
		<div role="tabpanel" class="tab-pane active" id="profile">
			<div class="col-sm-6">
				<form action="rotation-chart-img.html" method="post"
					enctype="multipart/form-data" class="form-horizontal _uploadForm"
					style="padding-top: 1em;">
					<div class="form-group">
						<label class="col-sm-2 control-label">轮播图片</label>
						<div class="col-sm-10">
							<input type="file" name="file" class="fileimg" accept="image/*" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-2 control-label">图片链接</label>
						<div class="col-sm-10">
							<input class="form-control" name="imgHref" type="text" value="${modelImg.imgHref }"
								placeholder="请输入图片要跳转的链接地址"  />
							<input name="imgId" type="text" value="${modelImg.imgId }" style="display:none" />
						</div>
					</div>
					<div class="form-group">

						<div class="col-sm-10 col-sm-offset-2">
							<button class="btn btn-default">上传图片</button>
							<button type="reset" class="btn btn-default">重填</button>
						</div>
					</div>

				</form>

			</div>
			<div class="col-sm-6">
				<img id="imgShow"
					style="max-width: 300px; max-height: 300px; margin-top: 1em;"
					src="${modelImg.imgSrc }" class="img-thumbnail" name="${modelImg.imgSrc }" />
				<div class="progress" style="display: none; margin-top: 1em;">
					<div class="progress-bar progress-bar-striped active"
						role="progressbar" aria-valuenow="45" aria-valuemin="0"
						aria-valuemax="100" style="width: 45%"></div>
				</div>
			</div>
		</div>
	</div>
	<jsp:include page="/footer.jsp" />
	<script type="text/javascript" src="../rotationChart/rotation-chart-modify.js"></script>
</body>

</html>